package com.unsiv.helicopter;

import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.TextView;
/**
 * <p>公司简介</p>
 * @author fanzhen
 * @time   11:34:31 AM Oct 25, 2011
 * @email  fanzhen.meng@gmail.com
 * @qq     474146502
 * @phone  13953109657
 */
public class CompanyActivity extends Activity {
	private ImageView buttonBack;
	private TextView textView;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,   
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
		setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
		setContentView(R.layout.company);
		buttonBack = (ImageView)findViewById(R.id.companyButtonBack);
		buttonBack.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View arg0) {
				onBackPressed();
			}
		});
		textView = (TextView)findViewById(R.id.textView);
		String styledText = "  Ekong is one of high-tech enterprise Co., specialized in developing embedded system and sales of related all components and modules. With more than ten years developing experience, we mainly focus on designing and developing low voltage MOSFET, Power supply and motor driver module. Our components and solution are widely using on all kinds of telecommunications equipment, remote controlling spaceship and children car, networking, vehicle DVD, MP4, Mobile, multimedia system, and other home appliances.<br/>"
			+"  Since its establishment in 2001, we are devoting on developing software and hardware of embedded system and carrying on secondary design service. Oriented on developing projects and solutions, the applications of financial department, airport, custom, hospital and consumer electronics field, our embedded system based on ARM processor in 32 digits, combined with Wince and Linux operating interface have been granted by all of our customers and cooperating partners.";
		textView.setText(Html.fromHtml(styledText), TextView.BufferType.SPANNABLE);
	}
}
